package com.bestcem.xm.member.grpc.service.param.export;

import com.bestcem.xm.common.core.constant.RegTypes;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @description TODO
 * @date 2021/7/29
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BatchDeleteExportRecordsParam {
    // 企业标识
    @NotBlank(message = "企业标识不存在")
    @Pattern(regexp = RegTypes.OBJECT_ID, message = "企业标识格式错误")
    private String orgId;

    // 导出记录标识
    @NotEmpty(message = "导出记录标识不存在")
    private List<String> ids;
}
